﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business.Cadre
{
    /// <summary>
    /// 干部转身实体
    /// </summary>
    [SugarTable("CadreProcessDetail")]
    public class CadreProcessDetailEntity
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string Id { get; set; }

        /// <summary>
        /// 干部转身基础数据
        /// </summary>
        public string CadreId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 转身计划流程号
        /// </summary>
        public string PlanInstanceNumber { get; set; }

        /// <summary>
        /// 转身总结流程号
        /// </summary>
        public string ResultInstanceNumber { get; set; }

        /// <summary>
        /// 行动计划
        /// </summary>
        public string Plan { get; set; }

        /// <summary>
        /// 衡量标准
        /// </summary>
        public string Measure { get; set; }

        /// <summary>
        /// 所需支持人
        /// </summary>
        public string NeedUser { get; set; }

        /// <summary>
        /// 计划完成时间
        /// </summary>
        public DateTime? FinishDate { get; set; }

        /// <summary>
        /// 总结
        /// </summary>
        public string Result { get; set; }

        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName { get; set; }

        /// <summary>
        /// 文件名Id
        /// </summary>
        public string FileId { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int KeyIndex { get; set; }

        /// <summary>
        /// 是否重启流程
        /// </summary>
        public bool? IsRestart { get; set; }
    }
}
